
// Returns an xmlhttprequest object.
function AjaxThing()
{
	var xmlhttprequest = null;
	if(window.XMLHttpRequest) {
		try {
			xmlhttprequest = new XMLHttpRequest();
		}
		catch (e) {
		}
	}
	else if (window.ActiveXObject) {
		try {
			xmlhttprequest = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {
			try {
				xmlhttprequest = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e) {
			}
		}
	}
	
	return (xmlhttprequest);
}
